import fly from '../utils/request'

export const getChannel = () => {
  return fly.get('/user/channels/')
}

export const getArticles = (data) => {
  return fly.get('articles', data)
}

export const getAllChannels = () => {
  return fly.get('/channels')
}